﻿<?php die;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$CategoryRS->getTitle()}-->--<!--{$smarty.const.MICE_TITLE}--></title>
<meta name="keywords" content="<!--{$CategoryRS->getTags()}-->,<!--{$smarty.const.MICE_KW}-->" />
<meta name="description" content="<!--{'micefun'|MiceClearHTML:$CategoryRS->getSummary()}-->,<!--{$smarty.const.MICE_DP}-->" />
<meta http-equiv="imagetoolbar" content="no" />
<base href="<!--{$smarty.const.MICE_URL}-->" />
<link href="css/global.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/index/css/theme<!--{'micefun'|MiceSession:'index_theme'}-->.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/default.js"></script>
<link rel="icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
</head>

<body>
<div id="page">
<!--{include file="index/header.php"}-->
<div id="midcon">
  <div id="midleft">
    <table width="750" height="36" border="0" cellpadding="0" cellspacing="0" id="midleftBt">
      <tr>
        <td class="midlBt"><img src="imgs/arr4.gif" width="15" height="15" align="absmiddle" style="margin:auto 5px auto 8px;" /><!--{$CategoryRS->getTitle()}--></td>
        <td align="right" style="padding-right:8px; color:#999999;">当前位置：<a href="<!--{'micefun'|GetUrl:'index'}-->">首页</a><!--{'micefun'|CategoryPath:$CategoryRS->getPath():'—'}--></td>
      </tr>
    </table>	
	<!--{assign var=subsql value='WHERE category_id LIKE \'%,'|cat:$CategoryId|cat:',%\' ORDER BY istop DESC,createdat DESC'}-->
	<!--{foreach key=key from='micefun'|ArticlePagerList:$subsql:10:$PageId item=Article}-->
    <table width="720" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:18px;">
      <tr>
        <td width="720" align="left" valign="top"><table width="720" border="0" cellpadding="7" cellspacing="0" class="protable">
            <tr>
              <td width="556" class="proBt"><b><!--{$Article->getTitle()}--><!--{'micefun'|UpBrowses:$Article->getArticleId()}--><a name="<!--{$Article->getArticleId()}-->" id="<!--{$Article->getArticleId()}-->"></a></b></td>
            </tr>
            <tr>
              <td valign="top" style="line-height:23px; padding-left:12px; padding-right:12px;">
			  <!--{'micefun'|MiceRestoreQuote:$Article->getContent()}-->
              </td>
            </tr>
        </table></td>
      </tr>
    </table>
	<!--{/foreach}-->
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" id="nLPg" style="margin-top:20px;">
      <tr>
        <td height="30">&nbsp;&nbsp;<b>发表评论</b></td>
      </tr>
    </table>
	<table width="720" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:15px;"><form id="commentform" name="commentform" method="post" action="<!--{$smarty.const.MICE_URL}-->index.php/comment">
      <tr>
		<td align="right" width="60px" height="30px" valign="middle">姓名:&nbsp;&nbsp;</td>
        <td valign="middle"><!--{if 'micefun'|MiceSession:'mu__userid'>0}-->
			<input name="name" type="text" size="18" maxlength="50" readonly value="<!--{'micefun'|MiceSession:'mu__loginname'}-->"/>
		<!--{else}-->
			<input name="name" type="text" size="18" maxlength="50"/>
		<!--{/if}-->
		&nbsp;&nbsp;(必填)
		<input name="parentid" type="hidden" value="<!--{$CategoryId}-->"/>
		<input name="type" type="hidden" value="list"/>
		<input name="title" type="hidden" value="<!--{$CategoryRS->getTitle()}-->"/>
		</td>
      </tr>
	  <tr>
		<td align="right" width="60px" height="30px" valign="middle">联系方式:&nbsp;&nbsp;</td>
        <td valign="middle"><input name="email" type="text" size="18" maxlength="200" />&nbsp;&nbsp;(不会被公开,选填)</td>
      </tr>
	  <tr>
		<td align="right" width="60px">评论内容:&nbsp;&nbsp;</td>
        <td><textarea id="content" name="content" rows="6" cols="30" style="width: 60%"></textarea></td>
      </tr>
	  <tr>
		<td align="right" width="60px" height="30px" valign="middle">验证码:&nbsp;&nbsp;</td>
		<td height="30px" valign="middle"><input name="checkcode" type="text" size="10" maxlength="4" />
		      <img src="<!--{$smarty.const.MICE_URL}-->code.php" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！"/>&nbsp;&nbsp;(必填)</td>
	  </tr>
	  <tr>
		<td align="right" width="60px">&nbsp;</td>
        <td height="30px" valign="middle"><input type="submit" name="Submit" value="发布评论" /></td>
      </tr></form>
    </table>
	<!--{assign var=subsql value='WHERE parentid = '|cat:$CategoryId|cat:' AND type=\'list\' AND isopen=1 ORDER BY createdat DESC'}-->
	<!--{foreach from='micefun'|FormList:$subsql:0:10 item=form name=counter}-->
		<table width="750" border="0" cellspacing="0" cellpadding="0" id="nLBt">
		  <tr>
			<td height="22" align="left" class="newsCBT" width="80%">&nbsp;&nbsp;<!--{$form->getName()}-->&nbsp;&nbsp;<!--{'micefun'|Num2Time:$form->getCreatedat()}--></td>
			<td height="22" align="right" class="newsCBT" width="20%"><!--{$smarty.foreach.counter.iteration}-->楼&nbsp;&nbsp;</td>
		  </tr>
		</table>
		<table width="720" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:3px;">
		  <tr>
			<td><div class="newsCon"><!--{'micefun'|MiceRestoreQuote:$form->getContent()}--></div></td>
		  </tr>
		</table>
	<!--{/foreach}-->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
  </div>
  <div id="midright">
 
    <div class="mrBT" style="margin-top:20px;">热门文章</div>
	<div id="mrNavCon">
		<!--{assign var=subsql value='WHERE category_id LIKE \'%,118,%\' ORDER BY browses DESC'}-->
		<!--{foreach from='micefun'|ArticlePagerList:$subsql:10:1 item=Article name=counter}-->
			<a href="<!--{'micefun'|ArticleUrl:118:$Article->getArticleId()}-->" class="quk"><!--{'micefun'|MiceCutStr:$Article->getTitle():12:''}--></a>
		<!--{/foreach}-->
	</div>
	<div class="mrBT" style="margin-top:20px;">最新文章</div>
	<div id="mrNavCon">
		<!--{assign var=subsql value='WHERE category_id LIKE \'%,118,%\' ORDER BY createdat DESC'}-->
		<!--{foreach from='micefun'|ArticlePagerList:$subsql:10:1 item=Article name=counter}-->
			<a href="<!--{'micefun'|ArticleUrl:118:$Article->getArticleId()}-->" class="quk"><!--{'micefun'|MiceCutStr:$Article->getTitle():12:''}--></a>
		<!--{/foreach}-->
	</div>

  </div>
  <div style="clear:both;"></div>
</div>
<!--{include file="index/footer.php"}-->
</div>
</body>
</html>